#include "vtor_buffer.h"

// 模块宏
#ifdef __VTOR_BUFFER__

// 工程宏
//#define __USER_PROJECT_DEMO__
#ifdef __USER_PROJECT_DEMO__

#include "vtor_elec_module.h"


// 单个缓冲，足够大
uint8_t singleBufferEntity[255] = {0};
VtorSingleBuffer VtorSingleBufferArray[] = 
{
	{singleBufferEntity, 255, 0},
	{NULL, 0, 0},
};

VtorSingleBuffer demoSingleBuf = {singleBufferEntity, 255};



void VtorSinglerBuffer_PushCallback(VtorSingleBuffer* buf)
{
	// VtorTimer_Create(VtorTimer_VtorSingleBufferTask, 0);
}

void VtorSinglerBuffer_PopCallback(VtorSingleBuffer* buf)
{
	
}


void VtorSingleBuffer_Init()
{
	//demoSingleBuf // 无需初始化，可以直接使用
}





#endif // __USER_PROJECT_DEMO__

#endif // __VTOR_BUFFER__


